Application::CloseAllDocuments

Section: ET++ method description (n)
Updated: automatically Fri Mar 1 10:58:03 1991
Index Return to Main Contents
 

NAME

Application::CloseAllDocuments - instance method  

TEMPLATE

success = bool CloseAllDocuments()  

SPECIFIERS

public virtual  

DESCRIPTION

CloseAllDocuments is called by the method Quit before the application terminates. It tries to close all documents of the application and returns whether it was successful.
CloseAllDocuments calls the method Document::Close for each document in the instvar documents and returns FALSE when a document cannot store unsaved changes because the user cancelled the save operation. Method is never overridden.  

ARGUMENTS

none

 

RETURN ARGUMENT

bool success

is TRUE
if all documents have been closed
 

CATEGORIES

document handling, client interface, overrider interface

 

FIRST DEFINITION

class Application  

FILES

implementation:
Application.C


 

Index

NAME
TEMPLATE
SPECIFIERS
DESCRIPTION
ARGUMENTS
RETURN ARGUMENT
CATEGORIES
FIRST DEFINITION
FILES

This document was created by man2html, using the manual pages.
Time: 00:40:32 GMT, March 30, 2022